<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>地图</title>
    <!-- <script src="https://map.qq.com/api/gljs?v=1.exp&key=3KNBZ-GWVKW-I3GRL-Y4QT3-Z5D3E-6AFON"></script> -->
    <script src="./script/mapPage_web.js"></script>
    <style>
        ul.myul {
            list-style-type: none;
            /* 去除默认的列表符号 */
            padding: 0;
            /* 去除默认的内填充 */
            margin: 0;
            /* 去除默认的外边距 */
            width: 80%;
            /* 列表宽度为100% */
        }

        ul.myul li {
            background-color: #f9f9f9;
            /* 背景色 */
            border: 1px solid #e5e5e5;
            /* 边框 */
            margin-bottom: 1px;
            /* 每个列表项之间的下边距 */
            padding: 3px;
            /* 内填充 */
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
            /* 阴影效果 */
            position: relative;
            /* 为可能的伪元素或子元素定位做准备 */
            transition: all 0.3s ease;
            /* 平滑的过渡效果 */
        }

        ul.myul li:hover {
            background-color: #e8e8e8;
            /* 鼠标悬停时的背景色 */
            cursor: pointer;
            /* 鼠标悬停时显示小手图标 */
        }

        #mapContainer {
            width: 80vw;
            height: 100vh;
            z-index: 1;
        }

        #menu {
            width: 20vw;
            height: 100vh;
            position: fixed;
            display: flex;
            align-items: center;
            flex-direction: column;
            right: 0px;
            top: 0;
            background-color: rgb(216, 216, 216);
            z-index: 2;
        }

        #searchInput {
            width: 80%;
            height: 30px;
            position: relative;
            margin-top: 20px;
        }

        .menuC {
            width: 80%;
            height: 30px;
            margin-top: 20px;
        }
    </style>
</head>

<body>
    <div id="mapContainer"></div>
    <div id="menu">
        <input type="text" id="searchInput" placeholder="输入地点关键词" />
        <ul class="myul" id="suggestionList"></ul>
        <div class="menuC">
            <button id="searchBtn" style="margin-right: 10px;">搜索</button>
            <button id="confirmBtn">确认定位</button>
        </div>
    </div>
</body>

</html>